clear user
This command terminates CLI users who are currently logged in through RS-232 (console), Telnet, or SSH. When run, the command drops the Telnet/SSH session or logs out the RS-232 session, and displays the login prompt.
Syntax
# clear user <Session ID>
Command |
Description |
---|---|
Session ID |
Unique identification of each currently logged in CLI user. Allows you to end the active CLI session of a specific CLI user. You can view session IDs by running the show users command. |
Note
The CLI session from which the command is run cannot be terminated.
Command Mode
Privileged User
Related Commands
show users
Example
Ending the CLI session of a specific user:
# clear user 1